package com.xuecheng.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.content.model.dto.AddOrUpdateTeachplanDto;
import com.xuecheng.content.model.po.Teachplan;
import com.xuecheng.content.model.vo.TeachPlanTreeVo;

import java.util.List;

/**
 * <p>
 * 课程计划 服务类
 * </p>
 *
 * @author itcast
 * @since 2024-12-13
 */
public interface TeachplanService extends IService<Teachplan> {

    List<TeachPlanTreeVo> getTeachPlan(Long courseId);

    void saveOrUpdateTeachPlan(AddOrUpdateTeachplanDto teachplanDto);

    void deletePlan(Long teachplanId);

    void moveUp(Long teachplanId);

    void movedown(Long teachplanId);
}
